package com.newtouch.bxzs.business.personal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.newtouch.bxzs.business.personal.model.AddFeedbackProblemVO;
import com.newtouch.bxzs.business.personal.model.AnswerFeedbackProblemVO;
import com.newtouch.bxzs.business.personal.model.FeedbackProblemBO;
import com.newtouch.bxzs.business.personal.model.FeedbackProblemVO;

/**
 * 反馈问题服务
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月30日</td>
 * <td>xiongdianqiang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author xiongdianqiang
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
public interface FeedbackProblemService {
	/**
	 * 获取反馈问题列表
	 * 
	 * @param problemFeedbackVO
	 */
	IPage<FeedbackProblemBO> getFeedbackProblemList(FeedbackProblemVO feedbackProblemVO);

	/**
	 * 根据id获取问题反馈详情
	 * 
	 * @param problemFeedbackId
	 * @return
	 */
	FeedbackProblemBO getFeedbackProblemDetailById(String problemFeedbackId);

	/**
	 * 根据id解答问题
	 * 
	 * @param problemFeedbackId
	 * @return
	 */
	FeedbackProblemBO answerFeedbackProblem(AnswerFeedbackProblemVO answerFeedbackProblemVO);

	/**
	 * 新增反馈问题
	 * 
	 * @param addFeedbackProblemVO
	 * @param file
	 * @return
	 */
	String addFeedbackProblem(AddFeedbackProblemVO addFeedbackProblemVO);

	/**
	 * 撤回反馈问题
	 * 
	 * @param problemFeedbackId
	 * @return
	 */
	void revokeFeedbackProblem(String problemFeedbackId);

}
